package com.amumu.drama.common.modules.category.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * 促销商品信息，包括sku、打折优惠、满减优惠
 * Created by macro on 2018/8/27.
 */
@Getter
@Setter
public class CategorySimpleDto implements Serializable {

    @ApiModelProperty(value = "商品分类名称-游戏列表")
    private String name;
    @ApiModelProperty(value = "商品分类一级ID")
    private Long id;
    @ApiModelProperty(value = "商品图标")
    private String icon;
    @ApiModelProperty(value = "商品分类二级ID列表")
    private List<SecondCategorySimpleDto> simpleDtos;

    @Getter
    @Setter
    public static class SecondCategorySimpleDto{
        @ApiModelProperty(value = "商品分类名称-游戏列表")
        private String name;
        @ApiModelProperty(value = "商品分类一级ID")
        private Long id;
    }
}
